<template>
  <div>
    <van-button @click="$refs.action.show = true">回复</van-button>
    <!--
      ref:
         原生标签：获取原生标签dom
         组件标签：获取组件的实例对象(this)
         用法
            <div ref='xxx' ></div>
            this.$refs.xxx

            <HmXxx ref='xxx' ></HmXxx>
            this.$refs.xxx
     -->
    <HmAction ref="action"></HmAction>
  </div>
</template>
<script>
import HmAction from './components/HmAction.vue'
export default {
  components: {
    HmAction
  },
  data () {
    return {}
  }
}
</script>
<style></style>
>
